<?php
/**
 * 后台首页类
 * @Author hugo
 * @Email webmaster@jushare.com
 */
namespace Cpanel\Controller;
use Common\Controller\CpanelController;

class IndexController extends CpanelController {

    public function _before_index(){
        layout(false);
    }

    public function login(){
        layout(false);
        $this->display();
    }

    //工作台内容
    public function main()
    {
        echo '欢迎';
    }
}